//
//  CategoryItem.h
//  kankanVideo
//
//  Created by wangbo on 6/1/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
@class CategoryItem;
@protocol CategoryItemDelegate <NSObject>
@required
-(void)itemSelected:(NSMutableArray*)item forIndex:(NSNumber*)theIndex;
@end

#import <UIKit/UIKit.h>

@interface CategoryItem : UIView{
    NSString *url;
    NSNumber *index;
}

- (id)initWithFrame:(CGRect)frame withTitle:(NSString *)theTitle withURL:(NSString*)theURL withIndex:(NSNumber*)theIndex;
@property(nonatomic,assign) id<CategoryItemDelegate> delegate;
@property(nonatomic,retain) UILabel *lblTitle;
@property(nonatomic,retain) UIButton *btn;
@property(nonatomic,assign) BOOL status;

-(void)myselected;
-(void)myunselected;
-(void)btnTapped:(id)sender;
@end
